<?php
	/**
	 * This is a MetaControl class, providing a QForm or QPanel access to event handlers
	 * and QControls to perform the Create, Edit, and Delete functionality
	 * of the MantisUserPrefTable class.  This code-generated class
	 * contains all the basic elements to help a QPanel or QForm display an HTML form that can
	 * manipulate a single MantisUserPrefTable object.
	 *
	 * To take advantage of some (or all) of these control objects, you
	 * must create a new QForm or QPanel which instantiates a MantisUserPrefTableMetaControl
	 * class.
	 *
	 * Any and all changes to this file will be overwritten with any subsequent
	 * code re-generation.
	 *
	 * @package My QCubed Application
	 * @subpackage MetaControls
	 * @property-read MantisUserPrefTable $MantisUserPrefTable the actual MantisUserPrefTable data class being edited
	 * @property QLabel $IdControl
	 * @property-read QLabel $IdLabel
	 * @property QIntegerTextBox $UserIdControl
	 * @property-read QLabel $UserIdLabel
	 * @property QIntegerTextBox $ProjectIdControl
	 * @property-read QLabel $ProjectIdLabel
	 * @property QIntegerTextBox $DefaultProfileControl
	 * @property-read QLabel $DefaultProfileLabel
	 * @property QIntegerTextBox $DefaultProjectControl
	 * @property-read QLabel $DefaultProjectLabel
	 * @property QIntegerTextBox $RefreshDelayControl
	 * @property-read QLabel $RefreshDelayLabel
	 * @property QIntegerTextBox $RedirectDelayControl
	 * @property-read QLabel $RedirectDelayLabel
	 * @property QTextBox $BugnoteOrderControl
	 * @property-read QLabel $BugnoteOrderLabel
	 * @property QIntegerTextBox $EmailOnNewControl
	 * @property-read QLabel $EmailOnNewLabel
	 * @property QIntegerTextBox $EmailOnAssignedControl
	 * @property-read QLabel $EmailOnAssignedLabel
	 * @property QIntegerTextBox $EmailOnFeedbackControl
	 * @property-read QLabel $EmailOnFeedbackLabel
	 * @property QIntegerTextBox $EmailOnResolvedControl
	 * @property-read QLabel $EmailOnResolvedLabel
	 * @property QIntegerTextBox $EmailOnClosedControl
	 * @property-read QLabel $EmailOnClosedLabel
	 * @property QIntegerTextBox $EmailOnReopenedControl
	 * @property-read QLabel $EmailOnReopenedLabel
	 * @property QIntegerTextBox $EmailOnBugnoteControl
	 * @property-read QLabel $EmailOnBugnoteLabel
	 * @property QIntegerTextBox $EmailOnStatusControl
	 * @property-read QLabel $EmailOnStatusLabel
	 * @property QIntegerTextBox $EmailOnPriorityControl
	 * @property-read QLabel $EmailOnPriorityLabel
	 * @property QIntegerTextBox $EmailOnPriorityMinSeverityControl
	 * @property-read QLabel $EmailOnPriorityMinSeverityLabel
	 * @property QIntegerTextBox $EmailOnStatusMinSeverityControl
	 * @property-read QLabel $EmailOnStatusMinSeverityLabel
	 * @property QIntegerTextBox $EmailOnBugnoteMinSeverityControl
	 * @property-read QLabel $EmailOnBugnoteMinSeverityLabel
	 * @property QIntegerTextBox $EmailOnReopenedMinSeverityControl
	 * @property-read QLabel $EmailOnReopenedMinSeverityLabel
	 * @property QIntegerTextBox $EmailOnClosedMinSeverityControl
	 * @property-read QLabel $EmailOnClosedMinSeverityLabel
	 * @property QIntegerTextBox $EmailOnResolvedMinSeverityControl
	 * @property-read QLabel $EmailOnResolvedMinSeverityLabel
	 * @property QIntegerTextBox $EmailOnFeedbackMinSeverityControl
	 * @property-read QLabel $EmailOnFeedbackMinSeverityLabel
	 * @property QIntegerTextBox $EmailOnAssignedMinSeverityControl
	 * @property-read QLabel $EmailOnAssignedMinSeverityLabel
	 * @property QIntegerTextBox $EmailOnNewMinSeverityControl
	 * @property-read QLabel $EmailOnNewMinSeverityLabel
	 * @property QIntegerTextBox $EmailBugnoteLimitControl
	 * @property-read QLabel $EmailBugnoteLimitLabel
	 * @property QTextBox $LanguageControl
	 * @property-read QLabel $LanguageLabel
	 * @property QTextBox $TimezoneControl
	 * @property-read QLabel $TimezoneLabel
	 * @property-read string $TitleVerb a verb indicating whether or not this is being edited or created
	 * @property-read boolean $EditMode a boolean indicating whether or not this is being edited or created
	 */

	class MantisUserPrefTableMetaControlGen extends QBaseClass {
		// General Variables
		/**
		 * @var MantisUserPrefTable objMantisUserPrefTable
		 * @access protected
		 */
		protected $objMantisUserPrefTable;
		/**
		 * @var QForm|QControl objParentObject
		 * @access protected
		 */
		protected $objParentObject;
		/**
		 * @var string strTitleVerb
		 * @access protected
		 */
		protected $strTitleVerb;
		/**
		 * @var boolean blnEditMode
		 * @access protected
		 */
		protected $blnEditMode;

		// Controls that allow the editing of MantisUserPrefTable's individual data fields
		/**
		 * @var QLabel lblId
		 * @access protected
		 */
		protected $lblId;
		/**
		 * @var QIntegerTextBox txtUserId
		 * @access protected
		 */
		protected $txtUserId;
		/**
		 * @var QIntegerTextBox txtProjectId
		 * @access protected
		 */
		protected $txtProjectId;
		/**
		 * @var QIntegerTextBox txtDefaultProfile
		 * @access protected
		 */
		protected $txtDefaultProfile;
		/**
		 * @var QIntegerTextBox txtDefaultProject
		 * @access protected
		 */
		protected $txtDefaultProject;
		/**
		 * @var QIntegerTextBox txtRefreshDelay
		 * @access protected
		 */
		protected $txtRefreshDelay;
		/**
		 * @var QIntegerTextBox txtRedirectDelay
		 * @access protected
		 */
		protected $txtRedirectDelay;
		/**
		 * @var QTextBox txtBugnoteOrder
		 * @access protected
		 */
		protected $txtBugnoteOrder;
		/**
		 * @var QIntegerTextBox txtEmailOnNew
		 * @access protected
		 */
		protected $txtEmailOnNew;
		/**
		 * @var QIntegerTextBox txtEmailOnAssigned
		 * @access protected
		 */
		protected $txtEmailOnAssigned;
		/**
		 * @var QIntegerTextBox txtEmailOnFeedback
		 * @access protected
		 */
		protected $txtEmailOnFeedback;
		/**
		 * @var QIntegerTextBox txtEmailOnResolved
		 * @access protected
		 */
		protected $txtEmailOnResolved;
		/**
		 * @var QIntegerTextBox txtEmailOnClosed
		 * @access protected
		 */
		protected $txtEmailOnClosed;
		/**
		 * @var QIntegerTextBox txtEmailOnReopened
		 * @access protected
		 */
		protected $txtEmailOnReopened;
		/**
		 * @var QIntegerTextBox txtEmailOnBugnote
		 * @access protected
		 */
		protected $txtEmailOnBugnote;
		/**
		 * @var QIntegerTextBox txtEmailOnStatus
		 * @access protected
		 */
		protected $txtEmailOnStatus;
		/**
		 * @var QIntegerTextBox txtEmailOnPriority
		 * @access protected
		 */
		protected $txtEmailOnPriority;
		/**
		 * @var QIntegerTextBox txtEmailOnPriorityMinSeverity
		 * @access protected
		 */
		protected $txtEmailOnPriorityMinSeverity;
		/**
		 * @var QIntegerTextBox txtEmailOnStatusMinSeverity
		 * @access protected
		 */
		protected $txtEmailOnStatusMinSeverity;
		/**
		 * @var QIntegerTextBox txtEmailOnBugnoteMinSeverity
		 * @access protected
		 */
		protected $txtEmailOnBugnoteMinSeverity;
		/**
		 * @var QIntegerTextBox txtEmailOnReopenedMinSeverity
		 * @access protected
		 */
		protected $txtEmailOnReopenedMinSeverity;
		/**
		 * @var QIntegerTextBox txtEmailOnClosedMinSeverity
		 * @access protected
		 */
		protected $txtEmailOnClosedMinSeverity;
		/**
		 * @var QIntegerTextBox txtEmailOnResolvedMinSeverity
		 * @access protected
		 */
		protected $txtEmailOnResolvedMinSeverity;
		/**
		 * @var QIntegerTextBox txtEmailOnFeedbackMinSeverity
		 * @access protected
		 */
		protected $txtEmailOnFeedbackMinSeverity;
		/**
		 * @var QIntegerTextBox txtEmailOnAssignedMinSeverity
		 * @access protected
		 */
		protected $txtEmailOnAssignedMinSeverity;
		/**
		 * @var QIntegerTextBox txtEmailOnNewMinSeverity
		 * @access protected
		 */
		protected $txtEmailOnNewMinSeverity;
		/**
		 * @var QIntegerTextBox txtEmailBugnoteLimit
		 * @access protected
		 */
		protected $txtEmailBugnoteLimit;
		/**
		 * @var QTextBox txtLanguage
		 * @access protected
		 */
		protected $txtLanguage;
		/**
		 * @var QTextBox txtTimezone
		 * @access protected
		 */
		protected $txtTimezone;

		// Controls that allow the viewing of MantisUserPrefTable's individual data fields
		/**
		 * @var QLabel lblUserId
		 * @access protected
		 */
		protected $lblUserId;
		/**
		 * @var QLabel lblProjectId
		 * @access protected
		 */
		protected $lblProjectId;
		/**
		 * @var QLabel lblDefaultProfile
		 * @access protected
		 */
		protected $lblDefaultProfile;
		/**
		 * @var QLabel lblDefaultProject
		 * @access protected
		 */
		protected $lblDefaultProject;
		/**
		 * @var QLabel lblRefreshDelay
		 * @access protected
		 */
		protected $lblRefreshDelay;
		/**
		 * @var QLabel lblRedirectDelay
		 * @access protected
		 */
		protected $lblRedirectDelay;
		/**
		 * @var QLabel lblBugnoteOrder
		 * @access protected
		 */
		protected $lblBugnoteOrder;
		/**
		 * @var QLabel lblEmailOnNew
		 * @access protected
		 */
		protected $lblEmailOnNew;
		/**
		 * @var QLabel lblEmailOnAssigned
		 * @access protected
		 */
		protected $lblEmailOnAssigned;
		/**
		 * @var QLabel lblEmailOnFeedback
		 * @access protected
		 */
		protected $lblEmailOnFeedback;
		/**
		 * @var QLabel lblEmailOnResolved
		 * @access protected
		 */
		protected $lblEmailOnResolved;
		/**
		 * @var QLabel lblEmailOnClosed
		 * @access protected
		 */
		protected $lblEmailOnClosed;
		/**
		 * @var QLabel lblEmailOnReopened
		 * @access protected
		 */
		protected $lblEmailOnReopened;
		/**
		 * @var QLabel lblEmailOnBugnote
		 * @access protected
		 */
		protected $lblEmailOnBugnote;
		/**
		 * @var QLabel lblEmailOnStatus
		 * @access protected
		 */
		protected $lblEmailOnStatus;
		/**
		 * @var QLabel lblEmailOnPriority
		 * @access protected
		 */
		protected $lblEmailOnPriority;
		/**
		 * @var QLabel lblEmailOnPriorityMinSeverity
		 * @access protected
		 */
		protected $lblEmailOnPriorityMinSeverity;
		/**
		 * @var QLabel lblEmailOnStatusMinSeverity
		 * @access protected
		 */
		protected $lblEmailOnStatusMinSeverity;
		/**
		 * @var QLabel lblEmailOnBugnoteMinSeverity
		 * @access protected
		 */
		protected $lblEmailOnBugnoteMinSeverity;
		/**
		 * @var QLabel lblEmailOnReopenedMinSeverity
		 * @access protected
		 */
		protected $lblEmailOnReopenedMinSeverity;
		/**
		 * @var QLabel lblEmailOnClosedMinSeverity
		 * @access protected
		 */
		protected $lblEmailOnClosedMinSeverity;
		/**
		 * @var QLabel lblEmailOnResolvedMinSeverity
		 * @access protected
		 */
		protected $lblEmailOnResolvedMinSeverity;
		/**
		 * @var QLabel lblEmailOnFeedbackMinSeverity
		 * @access protected
		 */
		protected $lblEmailOnFeedbackMinSeverity;
		/**
		 * @var QLabel lblEmailOnAssignedMinSeverity
		 * @access protected
		 */
		protected $lblEmailOnAssignedMinSeverity;
		/**
		 * @var QLabel lblEmailOnNewMinSeverity
		 * @access protected
		 */
		protected $lblEmailOnNewMinSeverity;
		/**
		 * @var QLabel lblEmailBugnoteLimit
		 * @access protected
		 */
		protected $lblEmailBugnoteLimit;
		/**
		 * @var QLabel lblLanguage
		 * @access protected
		 */
		protected $lblLanguage;
		/**
		 * @var QLabel lblTimezone
		 * @access protected
		 */
		protected $lblTimezone;

		// QListBox Controls (if applicable) to edit Unique ReverseReferences and ManyToMany References

		// QLabel Controls (if applicable) to view Unique ReverseReferences and ManyToMany References


		/**
		 * Main constructor.  Constructor OR static create methods are designed to be called in either
		 * a parent QPanel or the main QForm when wanting to create a
		 * MantisUserPrefTableMetaControl to edit a single MantisUserPrefTable object within the
		 * QPanel or QForm.
		 *
		 * This constructor takes in a single MantisUserPrefTable object, while any of the static
		 * create methods below can be used to construct based off of individual PK ID(s).
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this MantisUserPrefTableMetaControl
		 * @param MantisUserPrefTable $objMantisUserPrefTable new or existing MantisUserPrefTable object
		 */
		 public function __construct($objParentObject, MantisUserPrefTable $objMantisUserPrefTable) {
			// Setup Parent Object (e.g. QForm or QPanel which will be using this MantisUserPrefTableMetaControl)
			$this->objParentObject = $objParentObject;

			// Setup linked MantisUserPrefTable object
			$this->objMantisUserPrefTable = $objMantisUserPrefTable;

			// Figure out if we're Editing or Creating New
			if ($this->objMantisUserPrefTable->__Restored) {
				$this->strTitleVerb = QApplication::Translate('Edit');
				$this->blnEditMode = true;
			} else {
				$this->strTitleVerb = QApplication::Translate('Create');
				$this->blnEditMode = false;
			}
		 }

		/**
		 * Static Helper Method to Create using PK arguments
		 * You must pass in the PK arguments on an object to load, or leave it blank to create a new one.
		 * If you want to load via QueryString or PathInfo, use the CreateFromQueryString or CreateFromPathInfo
		 * static helper methods.  Finally, specify a CreateType to define whether or not we are only allowed to
		 * edit, or if we are also allowed to create a new one, etc.
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this MantisUserPrefTableMetaControl
		 * @param integer $intId primary key value
		 * @param QMetaControlCreateType $intCreateType rules governing MantisUserPrefTable object creation - defaults to CreateOrEdit
 		 * @return MantisUserPrefTableMetaControl
		 */
		public static function Create($objParentObject, $intId = null, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			// Attempt to Load from PK Arguments
			if (strlen($intId)) {
				$objMantisUserPrefTable = MantisUserPrefTable::Load($intId);

				// MantisUserPrefTable was found -- return it!
				if ($objMantisUserPrefTable)
					return new MantisUserPrefTableMetaControl($objParentObject, $objMantisUserPrefTable);

				// If CreateOnRecordNotFound not specified, throw an exception
				else if ($intCreateType != QMetaControlCreateType::CreateOnRecordNotFound)
					throw new QCallerException('Could not find a MantisUserPrefTable object with PK arguments: ' . $intId);

			// If EditOnly is specified, throw an exception
			} else if ($intCreateType == QMetaControlCreateType::EditOnly)
				throw new QCallerException('No PK arguments specified');

			// If we are here, then we need to create a new record
			return new MantisUserPrefTableMetaControl($objParentObject, new MantisUserPrefTable());
		}

		/**
		 * Static Helper Method to Create using PathInfo arguments
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this MantisUserPrefTableMetaControl
		 * @param QMetaControlCreateType $intCreateType rules governing MantisUserPrefTable object creation - defaults to CreateOrEdit
		 * @return MantisUserPrefTableMetaControl
		 */
		public static function CreateFromPathInfo($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			$intId = QApplication::PathInfo(0);
			return MantisUserPrefTableMetaControl::Create($objParentObject, $intId, $intCreateType);
		}

		/**
		 * Static Helper Method to Create using QueryString arguments
		 *
		 * @param mixed $objParentObject QForm or QPanel which will be using this MantisUserPrefTableMetaControl
		 * @param QMetaControlCreateType $intCreateType rules governing MantisUserPrefTable object creation - defaults to CreateOrEdit
		 * @return MantisUserPrefTableMetaControl
		 */
		public static function CreateFromQueryString($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) {
			$intId = QApplication::QueryString('intId');
			return MantisUserPrefTableMetaControl::Create($objParentObject, $intId, $intCreateType);
		}



		///////////////////////////////////////////////
		// PUBLIC CREATE and REFRESH METHODS
		///////////////////////////////////////////////

		/**
		 * Create and setup QLabel lblId
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblId_Create($strControlId = null) {
			$this->lblId = new QLabel($this->objParentObject, $strControlId);
			$this->lblId->Name = QApplication::Translate('Id');
			if ($this->blnEditMode)
				$this->lblId->Text = $this->objMantisUserPrefTable->Id;
			else
				$this->lblId->Text = 'N/A';
			return $this->lblId;
		}

		/**
		 * Create and setup QIntegerTextBox txtUserId
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtUserId_Create($strControlId = null) {
			$this->txtUserId = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtUserId->Name = QApplication::Translate('User Id');
			$this->txtUserId->Text = $this->objMantisUserPrefTable->UserId;
			$this->txtUserId->Required = true;
			return $this->txtUserId;
		}

		/**
		 * Create and setup QLabel lblUserId
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblUserId_Create($strControlId = null, $strFormat = null) {
			$this->lblUserId = new QLabel($this->objParentObject, $strControlId);
			$this->lblUserId->Name = QApplication::Translate('User Id');
			$this->lblUserId->Text = $this->objMantisUserPrefTable->UserId;
			$this->lblUserId->Required = true;
			$this->lblUserId->Format = $strFormat;
			return $this->lblUserId;
		}

		/**
		 * Create and setup QIntegerTextBox txtProjectId
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtProjectId_Create($strControlId = null) {
			$this->txtProjectId = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtProjectId->Name = QApplication::Translate('Project Id');
			$this->txtProjectId->Text = $this->objMantisUserPrefTable->ProjectId;
			$this->txtProjectId->Required = true;
			return $this->txtProjectId;
		}

		/**
		 * Create and setup QLabel lblProjectId
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblProjectId_Create($strControlId = null, $strFormat = null) {
			$this->lblProjectId = new QLabel($this->objParentObject, $strControlId);
			$this->lblProjectId->Name = QApplication::Translate('Project Id');
			$this->lblProjectId->Text = $this->objMantisUserPrefTable->ProjectId;
			$this->lblProjectId->Required = true;
			$this->lblProjectId->Format = $strFormat;
			return $this->lblProjectId;
		}

		/**
		 * Create and setup QIntegerTextBox txtDefaultProfile
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtDefaultProfile_Create($strControlId = null) {
			$this->txtDefaultProfile = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtDefaultProfile->Name = QApplication::Translate('Default Profile');
			$this->txtDefaultProfile->Text = $this->objMantisUserPrefTable->DefaultProfile;
			$this->txtDefaultProfile->Required = true;
			return $this->txtDefaultProfile;
		}

		/**
		 * Create and setup QLabel lblDefaultProfile
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblDefaultProfile_Create($strControlId = null, $strFormat = null) {
			$this->lblDefaultProfile = new QLabel($this->objParentObject, $strControlId);
			$this->lblDefaultProfile->Name = QApplication::Translate('Default Profile');
			$this->lblDefaultProfile->Text = $this->objMantisUserPrefTable->DefaultProfile;
			$this->lblDefaultProfile->Required = true;
			$this->lblDefaultProfile->Format = $strFormat;
			return $this->lblDefaultProfile;
		}

		/**
		 * Create and setup QIntegerTextBox txtDefaultProject
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtDefaultProject_Create($strControlId = null) {
			$this->txtDefaultProject = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtDefaultProject->Name = QApplication::Translate('Default Project');
			$this->txtDefaultProject->Text = $this->objMantisUserPrefTable->DefaultProject;
			$this->txtDefaultProject->Required = true;
			return $this->txtDefaultProject;
		}

		/**
		 * Create and setup QLabel lblDefaultProject
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblDefaultProject_Create($strControlId = null, $strFormat = null) {
			$this->lblDefaultProject = new QLabel($this->objParentObject, $strControlId);
			$this->lblDefaultProject->Name = QApplication::Translate('Default Project');
			$this->lblDefaultProject->Text = $this->objMantisUserPrefTable->DefaultProject;
			$this->lblDefaultProject->Required = true;
			$this->lblDefaultProject->Format = $strFormat;
			return $this->lblDefaultProject;
		}

		/**
		 * Create and setup QIntegerTextBox txtRefreshDelay
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtRefreshDelay_Create($strControlId = null) {
			$this->txtRefreshDelay = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtRefreshDelay->Name = QApplication::Translate('Refresh Delay');
			$this->txtRefreshDelay->Text = $this->objMantisUserPrefTable->RefreshDelay;
			$this->txtRefreshDelay->Required = true;
			return $this->txtRefreshDelay;
		}

		/**
		 * Create and setup QLabel lblRefreshDelay
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblRefreshDelay_Create($strControlId = null, $strFormat = null) {
			$this->lblRefreshDelay = new QLabel($this->objParentObject, $strControlId);
			$this->lblRefreshDelay->Name = QApplication::Translate('Refresh Delay');
			$this->lblRefreshDelay->Text = $this->objMantisUserPrefTable->RefreshDelay;
			$this->lblRefreshDelay->Required = true;
			$this->lblRefreshDelay->Format = $strFormat;
			return $this->lblRefreshDelay;
		}

		/**
		 * Create and setup QIntegerTextBox txtRedirectDelay
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtRedirectDelay_Create($strControlId = null) {
			$this->txtRedirectDelay = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtRedirectDelay->Name = QApplication::Translate('Redirect Delay');
			$this->txtRedirectDelay->Text = $this->objMantisUserPrefTable->RedirectDelay;
			$this->txtRedirectDelay->Required = true;
			return $this->txtRedirectDelay;
		}

		/**
		 * Create and setup QLabel lblRedirectDelay
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblRedirectDelay_Create($strControlId = null, $strFormat = null) {
			$this->lblRedirectDelay = new QLabel($this->objParentObject, $strControlId);
			$this->lblRedirectDelay->Name = QApplication::Translate('Redirect Delay');
			$this->lblRedirectDelay->Text = $this->objMantisUserPrefTable->RedirectDelay;
			$this->lblRedirectDelay->Required = true;
			$this->lblRedirectDelay->Format = $strFormat;
			return $this->lblRedirectDelay;
		}

		/**
		 * Create and setup QTextBox txtBugnoteOrder
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtBugnoteOrder_Create($strControlId = null) {
			$this->txtBugnoteOrder = new QTextBox($this->objParentObject, $strControlId);
			$this->txtBugnoteOrder->Name = QApplication::Translate('Bugnote Order');
			$this->txtBugnoteOrder->Text = $this->objMantisUserPrefTable->BugnoteOrder;
			$this->txtBugnoteOrder->Required = true;
			$this->txtBugnoteOrder->MaxLength = MantisUserPrefTable::BugnoteOrderMaxLength;
			return $this->txtBugnoteOrder;
		}

		/**
		 * Create and setup QLabel lblBugnoteOrder
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblBugnoteOrder_Create($strControlId = null) {
			$this->lblBugnoteOrder = new QLabel($this->objParentObject, $strControlId);
			$this->lblBugnoteOrder->Name = QApplication::Translate('Bugnote Order');
			$this->lblBugnoteOrder->Text = $this->objMantisUserPrefTable->BugnoteOrder;
			$this->lblBugnoteOrder->Required = true;
			return $this->lblBugnoteOrder;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnNew
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnNew_Create($strControlId = null) {
			$this->txtEmailOnNew = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnNew->Name = QApplication::Translate('Email On New');
			$this->txtEmailOnNew->Text = $this->objMantisUserPrefTable->EmailOnNew;
			$this->txtEmailOnNew->Required = true;
			return $this->txtEmailOnNew;
		}

		/**
		 * Create and setup QLabel lblEmailOnNew
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnNew_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnNew = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnNew->Name = QApplication::Translate('Email On New');
			$this->lblEmailOnNew->Text = $this->objMantisUserPrefTable->EmailOnNew;
			$this->lblEmailOnNew->Required = true;
			$this->lblEmailOnNew->Format = $strFormat;
			return $this->lblEmailOnNew;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnAssigned
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnAssigned_Create($strControlId = null) {
			$this->txtEmailOnAssigned = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnAssigned->Name = QApplication::Translate('Email On Assigned');
			$this->txtEmailOnAssigned->Text = $this->objMantisUserPrefTable->EmailOnAssigned;
			$this->txtEmailOnAssigned->Required = true;
			return $this->txtEmailOnAssigned;
		}

		/**
		 * Create and setup QLabel lblEmailOnAssigned
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnAssigned_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnAssigned = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnAssigned->Name = QApplication::Translate('Email On Assigned');
			$this->lblEmailOnAssigned->Text = $this->objMantisUserPrefTable->EmailOnAssigned;
			$this->lblEmailOnAssigned->Required = true;
			$this->lblEmailOnAssigned->Format = $strFormat;
			return $this->lblEmailOnAssigned;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnFeedback
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnFeedback_Create($strControlId = null) {
			$this->txtEmailOnFeedback = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnFeedback->Name = QApplication::Translate('Email On Feedback');
			$this->txtEmailOnFeedback->Text = $this->objMantisUserPrefTable->EmailOnFeedback;
			$this->txtEmailOnFeedback->Required = true;
			return $this->txtEmailOnFeedback;
		}

		/**
		 * Create and setup QLabel lblEmailOnFeedback
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnFeedback_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnFeedback = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnFeedback->Name = QApplication::Translate('Email On Feedback');
			$this->lblEmailOnFeedback->Text = $this->objMantisUserPrefTable->EmailOnFeedback;
			$this->lblEmailOnFeedback->Required = true;
			$this->lblEmailOnFeedback->Format = $strFormat;
			return $this->lblEmailOnFeedback;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnResolved
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnResolved_Create($strControlId = null) {
			$this->txtEmailOnResolved = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnResolved->Name = QApplication::Translate('Email On Resolved');
			$this->txtEmailOnResolved->Text = $this->objMantisUserPrefTable->EmailOnResolved;
			$this->txtEmailOnResolved->Required = true;
			return $this->txtEmailOnResolved;
		}

		/**
		 * Create and setup QLabel lblEmailOnResolved
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnResolved_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnResolved = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnResolved->Name = QApplication::Translate('Email On Resolved');
			$this->lblEmailOnResolved->Text = $this->objMantisUserPrefTable->EmailOnResolved;
			$this->lblEmailOnResolved->Required = true;
			$this->lblEmailOnResolved->Format = $strFormat;
			return $this->lblEmailOnResolved;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnClosed
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnClosed_Create($strControlId = null) {
			$this->txtEmailOnClosed = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnClosed->Name = QApplication::Translate('Email On Closed');
			$this->txtEmailOnClosed->Text = $this->objMantisUserPrefTable->EmailOnClosed;
			$this->txtEmailOnClosed->Required = true;
			return $this->txtEmailOnClosed;
		}

		/**
		 * Create and setup QLabel lblEmailOnClosed
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnClosed_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnClosed = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnClosed->Name = QApplication::Translate('Email On Closed');
			$this->lblEmailOnClosed->Text = $this->objMantisUserPrefTable->EmailOnClosed;
			$this->lblEmailOnClosed->Required = true;
			$this->lblEmailOnClosed->Format = $strFormat;
			return $this->lblEmailOnClosed;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnReopened
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnReopened_Create($strControlId = null) {
			$this->txtEmailOnReopened = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnReopened->Name = QApplication::Translate('Email On Reopened');
			$this->txtEmailOnReopened->Text = $this->objMantisUserPrefTable->EmailOnReopened;
			$this->txtEmailOnReopened->Required = true;
			return $this->txtEmailOnReopened;
		}

		/**
		 * Create and setup QLabel lblEmailOnReopened
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnReopened_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnReopened = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnReopened->Name = QApplication::Translate('Email On Reopened');
			$this->lblEmailOnReopened->Text = $this->objMantisUserPrefTable->EmailOnReopened;
			$this->lblEmailOnReopened->Required = true;
			$this->lblEmailOnReopened->Format = $strFormat;
			return $this->lblEmailOnReopened;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnBugnote
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnBugnote_Create($strControlId = null) {
			$this->txtEmailOnBugnote = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnBugnote->Name = QApplication::Translate('Email On Bugnote');
			$this->txtEmailOnBugnote->Text = $this->objMantisUserPrefTable->EmailOnBugnote;
			$this->txtEmailOnBugnote->Required = true;
			return $this->txtEmailOnBugnote;
		}

		/**
		 * Create and setup QLabel lblEmailOnBugnote
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnBugnote_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnBugnote = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnBugnote->Name = QApplication::Translate('Email On Bugnote');
			$this->lblEmailOnBugnote->Text = $this->objMantisUserPrefTable->EmailOnBugnote;
			$this->lblEmailOnBugnote->Required = true;
			$this->lblEmailOnBugnote->Format = $strFormat;
			return $this->lblEmailOnBugnote;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnStatus
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnStatus_Create($strControlId = null) {
			$this->txtEmailOnStatus = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnStatus->Name = QApplication::Translate('Email On Status');
			$this->txtEmailOnStatus->Text = $this->objMantisUserPrefTable->EmailOnStatus;
			$this->txtEmailOnStatus->Required = true;
			return $this->txtEmailOnStatus;
		}

		/**
		 * Create and setup QLabel lblEmailOnStatus
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnStatus_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnStatus = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnStatus->Name = QApplication::Translate('Email On Status');
			$this->lblEmailOnStatus->Text = $this->objMantisUserPrefTable->EmailOnStatus;
			$this->lblEmailOnStatus->Required = true;
			$this->lblEmailOnStatus->Format = $strFormat;
			return $this->lblEmailOnStatus;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnPriority
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnPriority_Create($strControlId = null) {
			$this->txtEmailOnPriority = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnPriority->Name = QApplication::Translate('Email On Priority');
			$this->txtEmailOnPriority->Text = $this->objMantisUserPrefTable->EmailOnPriority;
			$this->txtEmailOnPriority->Required = true;
			return $this->txtEmailOnPriority;
		}

		/**
		 * Create and setup QLabel lblEmailOnPriority
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnPriority_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnPriority = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnPriority->Name = QApplication::Translate('Email On Priority');
			$this->lblEmailOnPriority->Text = $this->objMantisUserPrefTable->EmailOnPriority;
			$this->lblEmailOnPriority->Required = true;
			$this->lblEmailOnPriority->Format = $strFormat;
			return $this->lblEmailOnPriority;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnPriorityMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnPriorityMinSeverity_Create($strControlId = null) {
			$this->txtEmailOnPriorityMinSeverity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnPriorityMinSeverity->Name = QApplication::Translate('Email On Priority Min Severity');
			$this->txtEmailOnPriorityMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnPriorityMinSeverity;
			$this->txtEmailOnPriorityMinSeverity->Required = true;
			return $this->txtEmailOnPriorityMinSeverity;
		}

		/**
		 * Create and setup QLabel lblEmailOnPriorityMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnPriorityMinSeverity_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnPriorityMinSeverity = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnPriorityMinSeverity->Name = QApplication::Translate('Email On Priority Min Severity');
			$this->lblEmailOnPriorityMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnPriorityMinSeverity;
			$this->lblEmailOnPriorityMinSeverity->Required = true;
			$this->lblEmailOnPriorityMinSeverity->Format = $strFormat;
			return $this->lblEmailOnPriorityMinSeverity;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnStatusMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnStatusMinSeverity_Create($strControlId = null) {
			$this->txtEmailOnStatusMinSeverity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnStatusMinSeverity->Name = QApplication::Translate('Email On Status Min Severity');
			$this->txtEmailOnStatusMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnStatusMinSeverity;
			$this->txtEmailOnStatusMinSeverity->Required = true;
			return $this->txtEmailOnStatusMinSeverity;
		}

		/**
		 * Create and setup QLabel lblEmailOnStatusMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnStatusMinSeverity_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnStatusMinSeverity = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnStatusMinSeverity->Name = QApplication::Translate('Email On Status Min Severity');
			$this->lblEmailOnStatusMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnStatusMinSeverity;
			$this->lblEmailOnStatusMinSeverity->Required = true;
			$this->lblEmailOnStatusMinSeverity->Format = $strFormat;
			return $this->lblEmailOnStatusMinSeverity;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnBugnoteMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnBugnoteMinSeverity_Create($strControlId = null) {
			$this->txtEmailOnBugnoteMinSeverity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnBugnoteMinSeverity->Name = QApplication::Translate('Email On Bugnote Min Severity');
			$this->txtEmailOnBugnoteMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnBugnoteMinSeverity;
			$this->txtEmailOnBugnoteMinSeverity->Required = true;
			return $this->txtEmailOnBugnoteMinSeverity;
		}

		/**
		 * Create and setup QLabel lblEmailOnBugnoteMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnBugnoteMinSeverity_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnBugnoteMinSeverity = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnBugnoteMinSeverity->Name = QApplication::Translate('Email On Bugnote Min Severity');
			$this->lblEmailOnBugnoteMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnBugnoteMinSeverity;
			$this->lblEmailOnBugnoteMinSeverity->Required = true;
			$this->lblEmailOnBugnoteMinSeverity->Format = $strFormat;
			return $this->lblEmailOnBugnoteMinSeverity;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnReopenedMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnReopenedMinSeverity_Create($strControlId = null) {
			$this->txtEmailOnReopenedMinSeverity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnReopenedMinSeverity->Name = QApplication::Translate('Email On Reopened Min Severity');
			$this->txtEmailOnReopenedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnReopenedMinSeverity;
			$this->txtEmailOnReopenedMinSeverity->Required = true;
			return $this->txtEmailOnReopenedMinSeverity;
		}

		/**
		 * Create and setup QLabel lblEmailOnReopenedMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnReopenedMinSeverity_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnReopenedMinSeverity = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnReopenedMinSeverity->Name = QApplication::Translate('Email On Reopened Min Severity');
			$this->lblEmailOnReopenedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnReopenedMinSeverity;
			$this->lblEmailOnReopenedMinSeverity->Required = true;
			$this->lblEmailOnReopenedMinSeverity->Format = $strFormat;
			return $this->lblEmailOnReopenedMinSeverity;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnClosedMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnClosedMinSeverity_Create($strControlId = null) {
			$this->txtEmailOnClosedMinSeverity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnClosedMinSeverity->Name = QApplication::Translate('Email On Closed Min Severity');
			$this->txtEmailOnClosedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnClosedMinSeverity;
			$this->txtEmailOnClosedMinSeverity->Required = true;
			return $this->txtEmailOnClosedMinSeverity;
		}

		/**
		 * Create and setup QLabel lblEmailOnClosedMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnClosedMinSeverity_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnClosedMinSeverity = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnClosedMinSeverity->Name = QApplication::Translate('Email On Closed Min Severity');
			$this->lblEmailOnClosedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnClosedMinSeverity;
			$this->lblEmailOnClosedMinSeverity->Required = true;
			$this->lblEmailOnClosedMinSeverity->Format = $strFormat;
			return $this->lblEmailOnClosedMinSeverity;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnResolvedMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnResolvedMinSeverity_Create($strControlId = null) {
			$this->txtEmailOnResolvedMinSeverity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnResolvedMinSeverity->Name = QApplication::Translate('Email On Resolved Min Severity');
			$this->txtEmailOnResolvedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnResolvedMinSeverity;
			$this->txtEmailOnResolvedMinSeverity->Required = true;
			return $this->txtEmailOnResolvedMinSeverity;
		}

		/**
		 * Create and setup QLabel lblEmailOnResolvedMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnResolvedMinSeverity_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnResolvedMinSeverity = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnResolvedMinSeverity->Name = QApplication::Translate('Email On Resolved Min Severity');
			$this->lblEmailOnResolvedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnResolvedMinSeverity;
			$this->lblEmailOnResolvedMinSeverity->Required = true;
			$this->lblEmailOnResolvedMinSeverity->Format = $strFormat;
			return $this->lblEmailOnResolvedMinSeverity;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnFeedbackMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnFeedbackMinSeverity_Create($strControlId = null) {
			$this->txtEmailOnFeedbackMinSeverity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnFeedbackMinSeverity->Name = QApplication::Translate('Email On Feedback Min Severity');
			$this->txtEmailOnFeedbackMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnFeedbackMinSeverity;
			$this->txtEmailOnFeedbackMinSeverity->Required = true;
			return $this->txtEmailOnFeedbackMinSeverity;
		}

		/**
		 * Create and setup QLabel lblEmailOnFeedbackMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnFeedbackMinSeverity_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnFeedbackMinSeverity = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnFeedbackMinSeverity->Name = QApplication::Translate('Email On Feedback Min Severity');
			$this->lblEmailOnFeedbackMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnFeedbackMinSeverity;
			$this->lblEmailOnFeedbackMinSeverity->Required = true;
			$this->lblEmailOnFeedbackMinSeverity->Format = $strFormat;
			return $this->lblEmailOnFeedbackMinSeverity;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnAssignedMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnAssignedMinSeverity_Create($strControlId = null) {
			$this->txtEmailOnAssignedMinSeverity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnAssignedMinSeverity->Name = QApplication::Translate('Email On Assigned Min Severity');
			$this->txtEmailOnAssignedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnAssignedMinSeverity;
			$this->txtEmailOnAssignedMinSeverity->Required = true;
			return $this->txtEmailOnAssignedMinSeverity;
		}

		/**
		 * Create and setup QLabel lblEmailOnAssignedMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnAssignedMinSeverity_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnAssignedMinSeverity = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnAssignedMinSeverity->Name = QApplication::Translate('Email On Assigned Min Severity');
			$this->lblEmailOnAssignedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnAssignedMinSeverity;
			$this->lblEmailOnAssignedMinSeverity->Required = true;
			$this->lblEmailOnAssignedMinSeverity->Format = $strFormat;
			return $this->lblEmailOnAssignedMinSeverity;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailOnNewMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailOnNewMinSeverity_Create($strControlId = null) {
			$this->txtEmailOnNewMinSeverity = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailOnNewMinSeverity->Name = QApplication::Translate('Email On New Min Severity');
			$this->txtEmailOnNewMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnNewMinSeverity;
			$this->txtEmailOnNewMinSeverity->Required = true;
			return $this->txtEmailOnNewMinSeverity;
		}

		/**
		 * Create and setup QLabel lblEmailOnNewMinSeverity
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailOnNewMinSeverity_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailOnNewMinSeverity = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailOnNewMinSeverity->Name = QApplication::Translate('Email On New Min Severity');
			$this->lblEmailOnNewMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnNewMinSeverity;
			$this->lblEmailOnNewMinSeverity->Required = true;
			$this->lblEmailOnNewMinSeverity->Format = $strFormat;
			return $this->lblEmailOnNewMinSeverity;
		}

		/**
		 * Create and setup QIntegerTextBox txtEmailBugnoteLimit
		 * @param string $strControlId optional ControlId to use
		 * @return QIntegerTextBox
		 */
		public function txtEmailBugnoteLimit_Create($strControlId = null) {
			$this->txtEmailBugnoteLimit = new QIntegerTextBox($this->objParentObject, $strControlId);
			$this->txtEmailBugnoteLimit->Name = QApplication::Translate('Email Bugnote Limit');
			$this->txtEmailBugnoteLimit->Text = $this->objMantisUserPrefTable->EmailBugnoteLimit;
			$this->txtEmailBugnoteLimit->Required = true;
			return $this->txtEmailBugnoteLimit;
		}

		/**
		 * Create and setup QLabel lblEmailBugnoteLimit
		 * @param string $strControlId optional ControlId to use
		 * @param string $strFormat optional sprintf format to use
		 * @return QLabel
		 */
		public function lblEmailBugnoteLimit_Create($strControlId = null, $strFormat = null) {
			$this->lblEmailBugnoteLimit = new QLabel($this->objParentObject, $strControlId);
			$this->lblEmailBugnoteLimit->Name = QApplication::Translate('Email Bugnote Limit');
			$this->lblEmailBugnoteLimit->Text = $this->objMantisUserPrefTable->EmailBugnoteLimit;
			$this->lblEmailBugnoteLimit->Required = true;
			$this->lblEmailBugnoteLimit->Format = $strFormat;
			return $this->lblEmailBugnoteLimit;
		}

		/**
		 * Create and setup QTextBox txtLanguage
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtLanguage_Create($strControlId = null) {
			$this->txtLanguage = new QTextBox($this->objParentObject, $strControlId);
			$this->txtLanguage->Name = QApplication::Translate('Language');
			$this->txtLanguage->Text = $this->objMantisUserPrefTable->Language;
			$this->txtLanguage->Required = true;
			$this->txtLanguage->MaxLength = MantisUserPrefTable::LanguageMaxLength;
			return $this->txtLanguage;
		}

		/**
		 * Create and setup QLabel lblLanguage
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblLanguage_Create($strControlId = null) {
			$this->lblLanguage = new QLabel($this->objParentObject, $strControlId);
			$this->lblLanguage->Name = QApplication::Translate('Language');
			$this->lblLanguage->Text = $this->objMantisUserPrefTable->Language;
			$this->lblLanguage->Required = true;
			return $this->lblLanguage;
		}

		/**
		 * Create and setup QTextBox txtTimezone
		 * @param string $strControlId optional ControlId to use
		 * @return QTextBox
		 */
		public function txtTimezone_Create($strControlId = null) {
			$this->txtTimezone = new QTextBox($this->objParentObject, $strControlId);
			$this->txtTimezone->Name = QApplication::Translate('Timezone');
			$this->txtTimezone->Text = $this->objMantisUserPrefTable->Timezone;
			$this->txtTimezone->Required = true;
			$this->txtTimezone->MaxLength = MantisUserPrefTable::TimezoneMaxLength;
			return $this->txtTimezone;
		}

		/**
		 * Create and setup QLabel lblTimezone
		 * @param string $strControlId optional ControlId to use
		 * @return QLabel
		 */
		public function lblTimezone_Create($strControlId = null) {
			$this->lblTimezone = new QLabel($this->objParentObject, $strControlId);
			$this->lblTimezone->Name = QApplication::Translate('Timezone');
			$this->lblTimezone->Text = $this->objMantisUserPrefTable->Timezone;
			$this->lblTimezone->Required = true;
			return $this->lblTimezone;
		}



		/**
		 * Refresh this MetaControl with Data from the local MantisUserPrefTable object.
		 * @param boolean $blnReload reload MantisUserPrefTable from the database
		 * @return void
		 */
		public function Refresh($blnReload = false) {
			if ($blnReload)
				$this->objMantisUserPrefTable->Reload();

			if ($this->lblId) if ($this->blnEditMode) $this->lblId->Text = $this->objMantisUserPrefTable->Id;

			if ($this->txtUserId) $this->txtUserId->Text = $this->objMantisUserPrefTable->UserId;
			if ($this->lblUserId) $this->lblUserId->Text = $this->objMantisUserPrefTable->UserId;

			if ($this->txtProjectId) $this->txtProjectId->Text = $this->objMantisUserPrefTable->ProjectId;
			if ($this->lblProjectId) $this->lblProjectId->Text = $this->objMantisUserPrefTable->ProjectId;

			if ($this->txtDefaultProfile) $this->txtDefaultProfile->Text = $this->objMantisUserPrefTable->DefaultProfile;
			if ($this->lblDefaultProfile) $this->lblDefaultProfile->Text = $this->objMantisUserPrefTable->DefaultProfile;

			if ($this->txtDefaultProject) $this->txtDefaultProject->Text = $this->objMantisUserPrefTable->DefaultProject;
			if ($this->lblDefaultProject) $this->lblDefaultProject->Text = $this->objMantisUserPrefTable->DefaultProject;

			if ($this->txtRefreshDelay) $this->txtRefreshDelay->Text = $this->objMantisUserPrefTable->RefreshDelay;
			if ($this->lblRefreshDelay) $this->lblRefreshDelay->Text = $this->objMantisUserPrefTable->RefreshDelay;

			if ($this->txtRedirectDelay) $this->txtRedirectDelay->Text = $this->objMantisUserPrefTable->RedirectDelay;
			if ($this->lblRedirectDelay) $this->lblRedirectDelay->Text = $this->objMantisUserPrefTable->RedirectDelay;

			if ($this->txtBugnoteOrder) $this->txtBugnoteOrder->Text = $this->objMantisUserPrefTable->BugnoteOrder;
			if ($this->lblBugnoteOrder) $this->lblBugnoteOrder->Text = $this->objMantisUserPrefTable->BugnoteOrder;

			if ($this->txtEmailOnNew) $this->txtEmailOnNew->Text = $this->objMantisUserPrefTable->EmailOnNew;
			if ($this->lblEmailOnNew) $this->lblEmailOnNew->Text = $this->objMantisUserPrefTable->EmailOnNew;

			if ($this->txtEmailOnAssigned) $this->txtEmailOnAssigned->Text = $this->objMantisUserPrefTable->EmailOnAssigned;
			if ($this->lblEmailOnAssigned) $this->lblEmailOnAssigned->Text = $this->objMantisUserPrefTable->EmailOnAssigned;

			if ($this->txtEmailOnFeedback) $this->txtEmailOnFeedback->Text = $this->objMantisUserPrefTable->EmailOnFeedback;
			if ($this->lblEmailOnFeedback) $this->lblEmailOnFeedback->Text = $this->objMantisUserPrefTable->EmailOnFeedback;

			if ($this->txtEmailOnResolved) $this->txtEmailOnResolved->Text = $this->objMantisUserPrefTable->EmailOnResolved;
			if ($this->lblEmailOnResolved) $this->lblEmailOnResolved->Text = $this->objMantisUserPrefTable->EmailOnResolved;

			if ($this->txtEmailOnClosed) $this->txtEmailOnClosed->Text = $this->objMantisUserPrefTable->EmailOnClosed;
			if ($this->lblEmailOnClosed) $this->lblEmailOnClosed->Text = $this->objMantisUserPrefTable->EmailOnClosed;

			if ($this->txtEmailOnReopened) $this->txtEmailOnReopened->Text = $this->objMantisUserPrefTable->EmailOnReopened;
			if ($this->lblEmailOnReopened) $this->lblEmailOnReopened->Text = $this->objMantisUserPrefTable->EmailOnReopened;

			if ($this->txtEmailOnBugnote) $this->txtEmailOnBugnote->Text = $this->objMantisUserPrefTable->EmailOnBugnote;
			if ($this->lblEmailOnBugnote) $this->lblEmailOnBugnote->Text = $this->objMantisUserPrefTable->EmailOnBugnote;

			if ($this->txtEmailOnStatus) $this->txtEmailOnStatus->Text = $this->objMantisUserPrefTable->EmailOnStatus;
			if ($this->lblEmailOnStatus) $this->lblEmailOnStatus->Text = $this->objMantisUserPrefTable->EmailOnStatus;

			if ($this->txtEmailOnPriority) $this->txtEmailOnPriority->Text = $this->objMantisUserPrefTable->EmailOnPriority;
			if ($this->lblEmailOnPriority) $this->lblEmailOnPriority->Text = $this->objMantisUserPrefTable->EmailOnPriority;

			if ($this->txtEmailOnPriorityMinSeverity) $this->txtEmailOnPriorityMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnPriorityMinSeverity;
			if ($this->lblEmailOnPriorityMinSeverity) $this->lblEmailOnPriorityMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnPriorityMinSeverity;

			if ($this->txtEmailOnStatusMinSeverity) $this->txtEmailOnStatusMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnStatusMinSeverity;
			if ($this->lblEmailOnStatusMinSeverity) $this->lblEmailOnStatusMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnStatusMinSeverity;

			if ($this->txtEmailOnBugnoteMinSeverity) $this->txtEmailOnBugnoteMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnBugnoteMinSeverity;
			if ($this->lblEmailOnBugnoteMinSeverity) $this->lblEmailOnBugnoteMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnBugnoteMinSeverity;

			if ($this->txtEmailOnReopenedMinSeverity) $this->txtEmailOnReopenedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnReopenedMinSeverity;
			if ($this->lblEmailOnReopenedMinSeverity) $this->lblEmailOnReopenedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnReopenedMinSeverity;

			if ($this->txtEmailOnClosedMinSeverity) $this->txtEmailOnClosedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnClosedMinSeverity;
			if ($this->lblEmailOnClosedMinSeverity) $this->lblEmailOnClosedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnClosedMinSeverity;

			if ($this->txtEmailOnResolvedMinSeverity) $this->txtEmailOnResolvedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnResolvedMinSeverity;
			if ($this->lblEmailOnResolvedMinSeverity) $this->lblEmailOnResolvedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnResolvedMinSeverity;

			if ($this->txtEmailOnFeedbackMinSeverity) $this->txtEmailOnFeedbackMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnFeedbackMinSeverity;
			if ($this->lblEmailOnFeedbackMinSeverity) $this->lblEmailOnFeedbackMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnFeedbackMinSeverity;

			if ($this->txtEmailOnAssignedMinSeverity) $this->txtEmailOnAssignedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnAssignedMinSeverity;
			if ($this->lblEmailOnAssignedMinSeverity) $this->lblEmailOnAssignedMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnAssignedMinSeverity;

			if ($this->txtEmailOnNewMinSeverity) $this->txtEmailOnNewMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnNewMinSeverity;
			if ($this->lblEmailOnNewMinSeverity) $this->lblEmailOnNewMinSeverity->Text = $this->objMantisUserPrefTable->EmailOnNewMinSeverity;

			if ($this->txtEmailBugnoteLimit) $this->txtEmailBugnoteLimit->Text = $this->objMantisUserPrefTable->EmailBugnoteLimit;
			if ($this->lblEmailBugnoteLimit) $this->lblEmailBugnoteLimit->Text = $this->objMantisUserPrefTable->EmailBugnoteLimit;

			if ($this->txtLanguage) $this->txtLanguage->Text = $this->objMantisUserPrefTable->Language;
			if ($this->lblLanguage) $this->lblLanguage->Text = $this->objMantisUserPrefTable->Language;

			if ($this->txtTimezone) $this->txtTimezone->Text = $this->objMantisUserPrefTable->Timezone;
			if ($this->lblTimezone) $this->lblTimezone->Text = $this->objMantisUserPrefTable->Timezone;

		}



		///////////////////////////////////////////////
		// PROTECTED UPDATE METHODS for ManyToManyReferences (if any)
		///////////////////////////////////////////////





		///////////////////////////////////////////////
		// PUBLIC MANTISUSERPREFTABLE OBJECT MANIPULATORS
		///////////////////////////////////////////////

		/**
		 * This will save this object's MantisUserPrefTable instance,
		 * updating only the fields which have had a control created for it.
		 */
		public function SaveMantisUserPrefTable() {
			try {
				// Update any fields for controls that have been created
				if ($this->txtUserId) $this->objMantisUserPrefTable->UserId = $this->txtUserId->Text;
				if ($this->txtProjectId) $this->objMantisUserPrefTable->ProjectId = $this->txtProjectId->Text;
				if ($this->txtDefaultProfile) $this->objMantisUserPrefTable->DefaultProfile = $this->txtDefaultProfile->Text;
				if ($this->txtDefaultProject) $this->objMantisUserPrefTable->DefaultProject = $this->txtDefaultProject->Text;
				if ($this->txtRefreshDelay) $this->objMantisUserPrefTable->RefreshDelay = $this->txtRefreshDelay->Text;
				if ($this->txtRedirectDelay) $this->objMantisUserPrefTable->RedirectDelay = $this->txtRedirectDelay->Text;
				if ($this->txtBugnoteOrder) $this->objMantisUserPrefTable->BugnoteOrder = $this->txtBugnoteOrder->Text;
				if ($this->txtEmailOnNew) $this->objMantisUserPrefTable->EmailOnNew = $this->txtEmailOnNew->Text;
				if ($this->txtEmailOnAssigned) $this->objMantisUserPrefTable->EmailOnAssigned = $this->txtEmailOnAssigned->Text;
				if ($this->txtEmailOnFeedback) $this->objMantisUserPrefTable->EmailOnFeedback = $this->txtEmailOnFeedback->Text;
				if ($this->txtEmailOnResolved) $this->objMantisUserPrefTable->EmailOnResolved = $this->txtEmailOnResolved->Text;
				if ($this->txtEmailOnClosed) $this->objMantisUserPrefTable->EmailOnClosed = $this->txtEmailOnClosed->Text;
				if ($this->txtEmailOnReopened) $this->objMantisUserPrefTable->EmailOnReopened = $this->txtEmailOnReopened->Text;
				if ($this->txtEmailOnBugnote) $this->objMantisUserPrefTable->EmailOnBugnote = $this->txtEmailOnBugnote->Text;
				if ($this->txtEmailOnStatus) $this->objMantisUserPrefTable->EmailOnStatus = $this->txtEmailOnStatus->Text;
				if ($this->txtEmailOnPriority) $this->objMantisUserPrefTable->EmailOnPriority = $this->txtEmailOnPriority->Text;
				if ($this->txtEmailOnPriorityMinSeverity) $this->objMantisUserPrefTable->EmailOnPriorityMinSeverity = $this->txtEmailOnPriorityMinSeverity->Text;
				if ($this->txtEmailOnStatusMinSeverity) $this->objMantisUserPrefTable->EmailOnStatusMinSeverity = $this->txtEmailOnStatusMinSeverity->Text;
				if ($this->txtEmailOnBugnoteMinSeverity) $this->objMantisUserPrefTable->EmailOnBugnoteMinSeverity = $this->txtEmailOnBugnoteMinSeverity->Text;
				if ($this->txtEmailOnReopenedMinSeverity) $this->objMantisUserPrefTable->EmailOnReopenedMinSeverity = $this->txtEmailOnReopenedMinSeverity->Text;
				if ($this->txtEmailOnClosedMinSeverity) $this->objMantisUserPrefTable->EmailOnClosedMinSeverity = $this->txtEmailOnClosedMinSeverity->Text;
				if ($this->txtEmailOnResolvedMinSeverity) $this->objMantisUserPrefTable->EmailOnResolvedMinSeverity = $this->txtEmailOnResolvedMinSeverity->Text;
				if ($this->txtEmailOnFeedbackMinSeverity) $this->objMantisUserPrefTable->EmailOnFeedbackMinSeverity = $this->txtEmailOnFeedbackMinSeverity->Text;
				if ($this->txtEmailOnAssignedMinSeverity) $this->objMantisUserPrefTable->EmailOnAssignedMinSeverity = $this->txtEmailOnAssignedMinSeverity->Text;
				if ($this->txtEmailOnNewMinSeverity) $this->objMantisUserPrefTable->EmailOnNewMinSeverity = $this->txtEmailOnNewMinSeverity->Text;
				if ($this->txtEmailBugnoteLimit) $this->objMantisUserPrefTable->EmailBugnoteLimit = $this->txtEmailBugnoteLimit->Text;
				if ($this->txtLanguage) $this->objMantisUserPrefTable->Language = $this->txtLanguage->Text;
				if ($this->txtTimezone) $this->objMantisUserPrefTable->Timezone = $this->txtTimezone->Text;

				// Update any UniqueReverseReferences (if any) for controls that have been created for it

				// Save the MantisUserPrefTable object
				$this->objMantisUserPrefTable->Save();

				// Finally, update any ManyToManyReferences (if any)
			} catch (QCallerException $objExc) {
				$objExc->IncrementOffset();
				throw $objExc;
			}
		}

		/**
		 * This will DELETE this object's MantisUserPrefTable instance from the database.
		 * It will also unassociate itself from any ManyToManyReferences.
		 */
		public function DeleteMantisUserPrefTable() {
			$this->objMantisUserPrefTable->Delete();
		}



		///////////////////////////////////////////////
		// PUBLIC GETTERS and SETTERS
		///////////////////////////////////////////////

		/**
		 * Override method to perform a property "Get"
		 * This will get the value of $strName
		 *
		 * @param string $strName Name of the property to get
		 * @return mixed
		 */
		public function __get($strName) {
			switch ($strName) {
				// General MetaControlVariables
				case 'MantisUserPrefTable': return $this->objMantisUserPrefTable;
				case 'TitleVerb': return $this->strTitleVerb;
				case 'EditMode': return $this->blnEditMode;

				// Controls that point to MantisUserPrefTable fields -- will be created dynamically if not yet created
				case 'IdControl':
					if (!$this->lblId) return $this->lblId_Create();
					return $this->lblId;
				case 'IdLabel':
					if (!$this->lblId) return $this->lblId_Create();
					return $this->lblId;
				case 'UserIdControl':
					if (!$this->txtUserId) return $this->txtUserId_Create();
					return $this->txtUserId;
				case 'UserIdLabel':
					if (!$this->lblUserId) return $this->lblUserId_Create();
					return $this->lblUserId;
				case 'ProjectIdControl':
					if (!$this->txtProjectId) return $this->txtProjectId_Create();
					return $this->txtProjectId;
				case 'ProjectIdLabel':
					if (!$this->lblProjectId) return $this->lblProjectId_Create();
					return $this->lblProjectId;
				case 'DefaultProfileControl':
					if (!$this->txtDefaultProfile) return $this->txtDefaultProfile_Create();
					return $this->txtDefaultProfile;
				case 'DefaultProfileLabel':
					if (!$this->lblDefaultProfile) return $this->lblDefaultProfile_Create();
					return $this->lblDefaultProfile;
				case 'DefaultProjectControl':
					if (!$this->txtDefaultProject) return $this->txtDefaultProject_Create();
					return $this->txtDefaultProject;
				case 'DefaultProjectLabel':
					if (!$this->lblDefaultProject) return $this->lblDefaultProject_Create();
					return $this->lblDefaultProject;
				case 'RefreshDelayControl':
					if (!$this->txtRefreshDelay) return $this->txtRefreshDelay_Create();
					return $this->txtRefreshDelay;
				case 'RefreshDelayLabel':
					if (!$this->lblRefreshDelay) return $this->lblRefreshDelay_Create();
					return $this->lblRefreshDelay;
				case 'RedirectDelayControl':
					if (!$this->txtRedirectDelay) return $this->txtRedirectDelay_Create();
					return $this->txtRedirectDelay;
				case 'RedirectDelayLabel':
					if (!$this->lblRedirectDelay) return $this->lblRedirectDelay_Create();
					return $this->lblRedirectDelay;
				case 'BugnoteOrderControl':
					if (!$this->txtBugnoteOrder) return $this->txtBugnoteOrder_Create();
					return $this->txtBugnoteOrder;
				case 'BugnoteOrderLabel':
					if (!$this->lblBugnoteOrder) return $this->lblBugnoteOrder_Create();
					return $this->lblBugnoteOrder;
				case 'EmailOnNewControl':
					if (!$this->txtEmailOnNew) return $this->txtEmailOnNew_Create();
					return $this->txtEmailOnNew;
				case 'EmailOnNewLabel':
					if (!$this->lblEmailOnNew) return $this->lblEmailOnNew_Create();
					return $this->lblEmailOnNew;
				case 'EmailOnAssignedControl':
					if (!$this->txtEmailOnAssigned) return $this->txtEmailOnAssigned_Create();
					return $this->txtEmailOnAssigned;
				case 'EmailOnAssignedLabel':
					if (!$this->lblEmailOnAssigned) return $this->lblEmailOnAssigned_Create();
					return $this->lblEmailOnAssigned;
				case 'EmailOnFeedbackControl':
					if (!$this->txtEmailOnFeedback) return $this->txtEmailOnFeedback_Create();
					return $this->txtEmailOnFeedback;
				case 'EmailOnFeedbackLabel':
					if (!$this->lblEmailOnFeedback) return $this->lblEmailOnFeedback_Create();
					return $this->lblEmailOnFeedback;
				case 'EmailOnResolvedControl':
					if (!$this->txtEmailOnResolved) return $this->txtEmailOnResolved_Create();
					return $this->txtEmailOnResolved;
				case 'EmailOnResolvedLabel':
					if (!$this->lblEmailOnResolved) return $this->lblEmailOnResolved_Create();
					return $this->lblEmailOnResolved;
				case 'EmailOnClosedControl':
					if (!$this->txtEmailOnClosed) return $this->txtEmailOnClosed_Create();
					return $this->txtEmailOnClosed;
				case 'EmailOnClosedLabel':
					if (!$this->lblEmailOnClosed) return $this->lblEmailOnClosed_Create();
					return $this->lblEmailOnClosed;
				case 'EmailOnReopenedControl':
					if (!$this->txtEmailOnReopened) return $this->txtEmailOnReopened_Create();
					return $this->txtEmailOnReopened;
				case 'EmailOnReopenedLabel':
					if (!$this->lblEmailOnReopened) return $this->lblEmailOnReopened_Create();
					return $this->lblEmailOnReopened;
				case 'EmailOnBugnoteControl':
					if (!$this->txtEmailOnBugnote) return $this->txtEmailOnBugnote_Create();
					return $this->txtEmailOnBugnote;
				case 'EmailOnBugnoteLabel':
					if (!$this->lblEmailOnBugnote) return $this->lblEmailOnBugnote_Create();
					return $this->lblEmailOnBugnote;
				case 'EmailOnStatusControl':
					if (!$this->txtEmailOnStatus) return $this->txtEmailOnStatus_Create();
					return $this->txtEmailOnStatus;
				case 'EmailOnStatusLabel':
					if (!$this->lblEmailOnStatus) return $this->lblEmailOnStatus_Create();
					return $this->lblEmailOnStatus;
				case 'EmailOnPriorityControl':
					if (!$this->txtEmailOnPriority) return $this->txtEmailOnPriority_Create();
					return $this->txtEmailOnPriority;
				case 'EmailOnPriorityLabel':
					if (!$this->lblEmailOnPriority) return $this->lblEmailOnPriority_Create();
					return $this->lblEmailOnPriority;
				case 'EmailOnPriorityMinSeverityControl':
					if (!$this->txtEmailOnPriorityMinSeverity) return $this->txtEmailOnPriorityMinSeverity_Create();
					return $this->txtEmailOnPriorityMinSeverity;
				case 'EmailOnPriorityMinSeverityLabel':
					if (!$this->lblEmailOnPriorityMinSeverity) return $this->lblEmailOnPriorityMinSeverity_Create();
					return $this->lblEmailOnPriorityMinSeverity;
				case 'EmailOnStatusMinSeverityControl':
					if (!$this->txtEmailOnStatusMinSeverity) return $this->txtEmailOnStatusMinSeverity_Create();
					return $this->txtEmailOnStatusMinSeverity;
				case 'EmailOnStatusMinSeverityLabel':
					if (!$this->lblEmailOnStatusMinSeverity) return $this->lblEmailOnStatusMinSeverity_Create();
					return $this->lblEmailOnStatusMinSeverity;
				case 'EmailOnBugnoteMinSeverityControl':
					if (!$this->txtEmailOnBugnoteMinSeverity) return $this->txtEmailOnBugnoteMinSeverity_Create();
					return $this->txtEmailOnBugnoteMinSeverity;
				case 'EmailOnBugnoteMinSeverityLabel':
					if (!$this->lblEmailOnBugnoteMinSeverity) return $this->lblEmailOnBugnoteMinSeverity_Create();
					return $this->lblEmailOnBugnoteMinSeverity;
				case 'EmailOnReopenedMinSeverityControl':
					if (!$this->txtEmailOnReopenedMinSeverity) return $this->txtEmailOnReopenedMinSeverity_Create();
					return $this->txtEmailOnReopenedMinSeverity;
				case 'EmailOnReopenedMinSeverityLabel':
					if (!$this->lblEmailOnReopenedMinSeverity) return $this->lblEmailOnReopenedMinSeverity_Create();
					return $this->lblEmailOnReopenedMinSeverity;
				case 'EmailOnClosedMinSeverityControl':
					if (!$this->txtEmailOnClosedMinSeverity) return $this->txtEmailOnClosedMinSeverity_Create();
					return $this->txtEmailOnClosedMinSeverity;
				case 'EmailOnClosedMinSeverityLabel':
					if (!$this->lblEmailOnClosedMinSeverity) return $this->lblEmailOnClosedMinSeverity_Create();
					return $this->lblEmailOnClosedMinSeverity;
				case 'EmailOnResolvedMinSeverityControl':
					if (!$this->txtEmailOnResolvedMinSeverity) return $this->txtEmailOnResolvedMinSeverity_Create();
					return $this->txtEmailOnResolvedMinSeverity;
				case 'EmailOnResolvedMinSeverityLabel':
					if (!$this->lblEmailOnResolvedMinSeverity) return $this->lblEmailOnResolvedMinSeverity_Create();
					return $this->lblEmailOnResolvedMinSeverity;
				case 'EmailOnFeedbackMinSeverityControl':
					if (!$this->txtEmailOnFeedbackMinSeverity) return $this->txtEmailOnFeedbackMinSeverity_Create();
					return $this->txtEmailOnFeedbackMinSeverity;
				case 'EmailOnFeedbackMinSeverityLabel':
					if (!$this->lblEmailOnFeedbackMinSeverity) return $this->lblEmailOnFeedbackMinSeverity_Create();
					return $this->lblEmailOnFeedbackMinSeverity;
				case 'EmailOnAssignedMinSeverityControl':
					if (!$this->txtEmailOnAssignedMinSeverity) return $this->txtEmailOnAssignedMinSeverity_Create();
					return $this->txtEmailOnAssignedMinSeverity;
				case 'EmailOnAssignedMinSeverityLabel':
					if (!$this->lblEmailOnAssignedMinSeverity) return $this->lblEmailOnAssignedMinSeverity_Create();
					return $this->lblEmailOnAssignedMinSeverity;
				case 'EmailOnNewMinSeverityControl':
					if (!$this->txtEmailOnNewMinSeverity) return $this->txtEmailOnNewMinSeverity_Create();
					return $this->txtEmailOnNewMinSeverity;
				case 'EmailOnNewMinSeverityLabel':
					if (!$this->lblEmailOnNewMinSeverity) return $this->lblEmailOnNewMinSeverity_Create();
					return $this->lblEmailOnNewMinSeverity;
				case 'EmailBugnoteLimitControl':
					if (!$this->txtEmailBugnoteLimit) return $this->txtEmailBugnoteLimit_Create();
					return $this->txtEmailBugnoteLimit;
				case 'EmailBugnoteLimitLabel':
					if (!$this->lblEmailBugnoteLimit) return $this->lblEmailBugnoteLimit_Create();
					return $this->lblEmailBugnoteLimit;
				case 'LanguageControl':
					if (!$this->txtLanguage) return $this->txtLanguage_Create();
					return $this->txtLanguage;
				case 'LanguageLabel':
					if (!$this->lblLanguage) return $this->lblLanguage_Create();
					return $this->lblLanguage;
				case 'TimezoneControl':
					if (!$this->txtTimezone) return $this->txtTimezone_Create();
					return $this->txtTimezone;
				case 'TimezoneLabel':
					if (!$this->lblTimezone) return $this->lblTimezone_Create();
					return $this->lblTimezone;
				default:
					try {
						return parent::__get($strName);
					} catch (QCallerException $objExc) {
						$objExc->IncrementOffset();
						throw $objExc;
					}
			}
		}

		/**
		 * Override method to perform a property "Set"
		 * This will set the property $strName to be $mixValue
		 *
		 * @param string $strName Name of the property to set
		 * @param string $mixValue New value of the property
		 * @return mixed
		 */
		public function __set($strName, $mixValue) {
			try {
				switch ($strName) {
					// Controls that point to MantisUserPrefTable fields
					case 'IdControl':
						return ($this->lblId = QType::Cast($mixValue, 'QControl'));
					case 'UserIdControl':
						return ($this->txtUserId = QType::Cast($mixValue, 'QControl'));
					case 'ProjectIdControl':
						return ($this->txtProjectId = QType::Cast($mixValue, 'QControl'));
					case 'DefaultProfileControl':
						return ($this->txtDefaultProfile = QType::Cast($mixValue, 'QControl'));
					case 'DefaultProjectControl':
						return ($this->txtDefaultProject = QType::Cast($mixValue, 'QControl'));
					case 'RefreshDelayControl':
						return ($this->txtRefreshDelay = QType::Cast($mixValue, 'QControl'));
					case 'RedirectDelayControl':
						return ($this->txtRedirectDelay = QType::Cast($mixValue, 'QControl'));
					case 'BugnoteOrderControl':
						return ($this->txtBugnoteOrder = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnNewControl':
						return ($this->txtEmailOnNew = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnAssignedControl':
						return ($this->txtEmailOnAssigned = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnFeedbackControl':
						return ($this->txtEmailOnFeedback = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnResolvedControl':
						return ($this->txtEmailOnResolved = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnClosedControl':
						return ($this->txtEmailOnClosed = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnReopenedControl':
						return ($this->txtEmailOnReopened = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnBugnoteControl':
						return ($this->txtEmailOnBugnote = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnStatusControl':
						return ($this->txtEmailOnStatus = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnPriorityControl':
						return ($this->txtEmailOnPriority = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnPriorityMinSeverityControl':
						return ($this->txtEmailOnPriorityMinSeverity = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnStatusMinSeverityControl':
						return ($this->txtEmailOnStatusMinSeverity = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnBugnoteMinSeverityControl':
						return ($this->txtEmailOnBugnoteMinSeverity = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnReopenedMinSeverityControl':
						return ($this->txtEmailOnReopenedMinSeverity = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnClosedMinSeverityControl':
						return ($this->txtEmailOnClosedMinSeverity = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnResolvedMinSeverityControl':
						return ($this->txtEmailOnResolvedMinSeverity = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnFeedbackMinSeverityControl':
						return ($this->txtEmailOnFeedbackMinSeverity = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnAssignedMinSeverityControl':
						return ($this->txtEmailOnAssignedMinSeverity = QType::Cast($mixValue, 'QControl'));
					case 'EmailOnNewMinSeverityControl':
						return ($this->txtEmailOnNewMinSeverity = QType::Cast($mixValue, 'QControl'));
					case 'EmailBugnoteLimitControl':
						return ($this->txtEmailBugnoteLimit = QType::Cast($mixValue, 'QControl'));
					case 'LanguageControl':
						return ($this->txtLanguage = QType::Cast($mixValue, 'QControl'));
					case 'TimezoneControl':
						return ($this->txtTimezone = QType::Cast($mixValue, 'QControl'));
					default:
						return parent::__set($strName, $mixValue);
				}
			} catch (QCallerException $objExc) {
				$objExc->IncrementOffset();
				throw $objExc;
			}
		}
	}
?>